package yzserver.sx4a.form;

import yzserver.sx4a.domain.PositionDomain;
import yzserver.sx4a.domain.PositionTypeDomain;

/**
 * Created with IntelliJ IDEA.
 * User: andrew
 * Date: 14-8-15
 * Time: 上午10:27
 * To change this template use File | Settings | File Templates.
 */
public class PositionType {
    private String positionTypeid; //岗位类型id
    private String positionTypename;//岗位类型名称
    private String positionTypeparent;//岗位类型父ID
    private String displayname;//岗位类型全名
    private String opuser ;//操作人信息
    private String positionTypeMutual;//岗位类型互斥信息
    private String enable;//状态（0是有效，1是失效）
    private String startdate;//生效时间yyyy-MM-dd 如2010-03-08ate
    private String enddate;//失效时间yyyy-MM-dd 如2010-03-08e
    private String updatedate;//更新时间yyyy-MM-dd HH:mm:ss，如2010-03-08

    public PositionType(){

    }

    public PositionType(PositionTypeDomain domain) {
        this.positionTypeid = domain.getPOSITION_TYPEID();
        this.positionTypename = domain.getPOSITION_TYPENAME();
        this.positionTypeparent = domain.getPOSITION_TYPEPARENT();
        this.displayname = domain.getDISPLAYNAME();
        this.opuser = domain.getOPUSER();
        this.positionTypeMutual = domain.getPOSITION_TYPE_MUTUAL();
        this.enable = domain.getENABLE();
        this.startdate = domain.getSTARTDATE();
        this.enddate = domain.getENDDATE();
        this.updatedate = domain.getUPDATEDATE();
    }

    public String getPositionTypeid() {
        return positionTypeid;
    }

    public void setPositionTypeid(String positionTypeid) {
        this.positionTypeid = positionTypeid;
    }

    public String getPositionTypename() {
        return positionTypename;
    }

    public void setPositionTypename(String positionTypename) {
        this.positionTypename = positionTypename;
    }

    public String getPositionTypeparent() {
        return positionTypeparent;
    }

    public void setPositionTypeparent(String positionTypeparent) {
        this.positionTypeparent = positionTypeparent;
    }

    public String getDisplayname() {
        return displayname;
    }

    public void setDisplayname(String displayname) {
        this.displayname = displayname;
    }

    public String getOpuser() {
        return opuser;
    }

    public void setOpuser(String opuser) {
        this.opuser = opuser;
    }

    public String getPositionTypeMutual() {
        return positionTypeMutual;
    }

    public void setPositionTypeMutual(String positionTypeMutual) {
        this.positionTypeMutual = positionTypeMutual;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    public String getStartdate() {
        return startdate;
    }

    public void setStartdate(String startdate) {
        this.startdate = startdate;
    }

    public String getEnddate() {
        return enddate;
    }

    public void setEnddate(String enddate) {
        this.enddate = enddate;
    }

    public String getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(String updatedate) {
        this.updatedate = updatedate;
    }
}
